package com.wwwarehouse.carddesk.bean.teambean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by xiaoke.ni on 2017/10/13.
 */

public class TeamAuthorizedOutItensBean {

    private List<UserCardAuthoritiesBean> userCardAuthorities;
    private List<TagsBean> tags;

    public List<UserCardAuthoritiesBean> getUserCardAuthorities() {
        return userCardAuthorities;
    }

    public void setUserCardAuthorities(List<UserCardAuthoritiesBean> userCardAuthorities) {
        this.userCardAuthorities = userCardAuthorities;
    }

    public List<TagsBean> getTags() {
        return tags;
    }

    public void setTags(List<TagsBean> tags) {
        this.tags = tags;
    }

    public static class UserCardAuthoritiesBean implements Parcelable {
        /**
         * authorityId : 52093604686730000
         * cardName : 平台订单导入
         * createTime : 2017-10-12 00:00:00
         * tagId : 52089503251952000
         * validDate : 2017-10-12 00:00:00
         * cardId : 52021102524651004
         * tagName : 规划业务
         * inValidDate : 2017-10-14 00:00:00
         */

        private long authorityId;
        private String cardName;
        private String createTime;
        private long tagId;
        private String validDate;
        private long cardId;
        private String tagName;
        private String inValidDate;
        private boolean isSelecter;

        public boolean isSelecter() {
            return isSelecter;
        }

        public void setSelecter(boolean selecter) {
            isSelecter = selecter;
        }

        public UserCardAuthoritiesBean() {
        }

        protected UserCardAuthoritiesBean(Parcel in) {
            authorityId = in.readLong();
            cardName = in.readString();
            createTime = in.readString();
            tagId = in.readLong();
            validDate = in.readString();
            cardId = in.readLong();
            tagName = in.readString();
            inValidDate = in.readString();
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeLong(authorityId);
            dest.writeString(cardName);
            dest.writeString(createTime);
            dest.writeLong(tagId);
            dest.writeString(validDate);
            dest.writeLong(cardId);
            dest.writeString(tagName);
            dest.writeString(inValidDate);
        }

        @Override
        public int describeContents() {
            return 0;
        }

        public static final Creator<UserCardAuthoritiesBean> CREATOR = new Creator<UserCardAuthoritiesBean>() {
            @Override
            public UserCardAuthoritiesBean createFromParcel(Parcel in) {
                return new UserCardAuthoritiesBean(in);
            }

            @Override
            public UserCardAuthoritiesBean[] newArray(int size) {
                return new UserCardAuthoritiesBean[size];
            }
        };

        public long getAuthorityId() {
            return authorityId;
        }

        public void setAuthorityId(long authorityId) {
            this.authorityId = authorityId;
        }

        public String getCardName() {
            return cardName;
        }

        public void setCardName(String cardName) {
            this.cardName = cardName;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public long getTagId() {
            return tagId;
        }

        public void setTagId(long tagId) {
            this.tagId = tagId;
        }

        public String getValidDate() {
            return validDate;
        }

        public void setValidDate(String validDate) {
            this.validDate = validDate;
        }

        public long getCardId() {
            return cardId;
        }

        public void setCardId(long cardId) {
            this.cardId = cardId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        public String getInValidDate() {
            return inValidDate;
        }

        public void setInValidDate(String inValidDate) {
            this.inValidDate = inValidDate;
        }
    }

    public static class TagsBean{
        /**
         * tagId : 52089503251952000
         * tagName : 规划业务
         */

        private long tagId;
        private String tagName;

        public long getTagId() {
            return tagId;
        }

        public void setTagId(long tagId) {
            this.tagId = tagId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }
    }
}
